#ifndef JAVASCRIPTCONSOLEPLUGIN_H
#define JAVASCRIPTCONSOLEPLUGIN_H

#include <QDockWidget>
#include <QMenu>
#include "interfaces.h"
#include "orion.h"

class JavascriptConsolePlugin : public QDockWidget,
                                public dockToolsInterface
{
    Q_OBJECT
    Q_INTERFACES(dockToolsInterface)

public:
    QMenu* menu(QMenu *inMenu);
    Orion::MenuType menuType() const { return Orion::WhiteHat; }
    Qt::DockWidgetArea dockWidgetArea();
    QDockWidget* dock();
    void createActions();
    void setupDock();

protected:
    QWidget* mainWidget;
    QMenu* menuBar;

    /* Actions */
    QAction* helpJavascriptAction;
    QAction* aboutJavascriptAction;

protected slots:
    void help();
    void about();
};



#endif // JAVASCRIPTCONSOLEPLUGIN_H
